package shared;

import java.awt.Color;
import java.util.HashMap;
import java.util.Map;

public class ColorsForGraph 
{
	Map<String, AssignedColor> colorsForNodes;
	Map<String, AssignedColor> colorsForEdges;
	
	
	public ColorsForGraph()
	{
		colorsForNodes = new HashMap<String, AssignedColor>();
		colorsForEdges = new HashMap<String, AssignedColor>();
		
		//colors for nodes
		colorsForNodes.put("female", new AssignedColor("Kobieta", new Color(237,43,61)));
		colorsForNodes.put("male", new AssignedColor("M�czyzna", new Color(43,56,237)));
		colorsForNodes.put("NULL", new AssignedColor("P�e� nieznana", new Color(237,207,43)));
		
		//colors for edges
		colorsForEdges.put("0", new AssignedColor("Brak danych", new Color(237,120,43)));
		colorsForEdges.put("1", new AssignedColor("Matka", new Color(194,237,43)));
		colorsForEdges.put("2", new AssignedColor("Ojciec", new Color(66,237,43)));
		colorsForEdges.put("3", new AssignedColor("Syn", new Color(92,173,76)));
		colorsForEdges.put("4", new AssignedColor("C�rka", new Color(28,187,136)));
		colorsForEdges.put("5", new AssignedColor("Brat", new Color(0,47,133)));
		colorsForEdges.put("6", new AssignedColor("Siostra", new Color(43,120,237)));
		colorsForEdges.put("7", new AssignedColor("Kuzyn/kuzynka", new Color(78,77,160)));
		colorsForEdges.put("8", new AssignedColor("Bratanek/siostrzeniec", new Color(125,92,148)));
		colorsForEdges.put("9", new AssignedColor("Bratanica/siostrzenica", new Color(189,43,237)));
		colorsForEdges.put("10", new AssignedColor("Dziadek", new Color(159,68,89)));
		colorsForEdges.put("11", new AssignedColor("Babcia", new Color(237,43,212)));
		colorsForEdges.put("12", new AssignedColor("Wnuk", new Color(243,106,23)));
		colorsForEdges.put("13", new AssignedColor("Wnuczka", new Color(47,97,87)));
		colorsForEdges.put("14", new AssignedColor("Znajomy", new Color(99,0,98)));			
		
	}
	
	public Map<String, AssignedColor> getColorsForNodes()
	{
		return colorsForNodes;
	}
	
	public Map<String, AssignedColor> getColorsForEdges()
	{
		return colorsForEdges;
	}

}
